package edu.wit.system.feign;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;

@FeignClient("service-wage")
public interface WagelFeign {

    @PostMapping("/pay-slip/commit/update")
    @ApiOperation("修改提交状态")
    public void commitUpdate(@RequestParam List<Long> personIds,
                             @RequestParam String month,
                             @RequestParam Integer status);
}
